<%--
  Created by IntelliJ IDEA.
  Author: WaveHi
  Contact: HJBWaveHi@163.com
  Date: 19/9/2021
  Time: 下午 3:40
  Description: 
  Version: 1.0
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>user_register</title>
    <base href="/day09_cookie_and_session/"/>
</head>
<body>
<div class="user-register-header">
    <h3>Please write your information for register.</h3>
    <span class="user-register-errorMsg">${requestScope.ErrorMsg}</span>
</div>
<div class="user-register-body">
    <form id="user-register-form" action="userServlet?action=register" method="POST" class="user-register-form">
        <input type="text" name="username" placeholder="Your username">
        <input type="password" name="password" placeholder="Your password">
        <input type="password" name="checkPassword" placeholder="Check password">
        <button type="submit" form="user-register-form">Register</button>
    </form>
</div>
</body>
</html>
